//
//  ZZBeautyBigFansCell.m
//  新项目
//
//  Created by liGordon on 17/3/13.
//  Copyright © 2017年 刘耀宗. All rights reserved.
//

#import "ZZBeautyBigFansCell.h"
#import "ZZBeautyBigFansContentModel.h"

@interface ZZBeautyBigFansCell ()
@property (weak, nonatomic) IBOutlet UILabel *recommendLabel;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *carPlate;
@property (weak, nonatomic) IBOutlet UILabel *carType;
@end

@implementation ZZBeautyBigFansCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)moreBtnClick:(UIButton *)sender {
    
    if ([self.delegate respondsToSelector:@selector(clickDetail:)]) {
        [self.delegate clickDetail:self.model];
    }
    
}

-(void)setModel:(ZZBeautyBigFansContentModel *)model
{
    _model = model;
    
    self.recommendLabel.text = model.CarOwnerTel;
    self.nameLabel.text = model.CarOwner;
    self.carPlate.text = model.PlateNumber;
    self.carType.text = model.ModelName;
    
    
}

@end
